<!DOCTYPE html>
<html lang="zh" data-layout-decorate="~{layout/default}">
<head>
    <meta charset="UTF-8"/>
    <title>Change Pwd</title>
</head>
<body>
<div class="row" data-layout-fragment="content">
    <div id="errorMessage" class="card-panel red lighten-2" data-th-if="${error}!=null">
        <span class="card-title">Invalid Old Pwd,Please try again!</span>
    </div>
    <form name="form" data-th-action="@{/web/v1/user/profile/change-pwd}" method="post">
        <div class="panel panel-body login-form">
            <div class="form-group has-feedback has-feedback-left">
                <input type="password" id="oldPwd" name="oldPwd" class="form-control"
                       placeholder="oldPwd"/>
                <div class="form-control-feedback">
                    <i class="icon-lock2 text-muted"></i>
                </div>
            </div>

            <div class="form-group has-feedback has-feedback-left">
                <input type="password" id="newPwd" name="newPwd" class="form-control"
                       placeholder="content"/>
                <div class="form-control-feedback">
                    <i class="icon-lock2 text-muted"></i>
                </div>
            </div>

            <div class="form-group">
                <button type="submit" class="btn btn-outline-warning btn-sm mdi-content-save">
                    ChangePwd
                </button>
            </div>
        </div>
    </form>
</div>

</body>
</html>